﻿
using LogModule.Interface;
using NLog;
using NLog.Config;
using NLog.Targets;
using NLog.Targets.Wrappers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Interop;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace LogModule.Views {
    
    /// <summary>
    /// LogView.xaml 的交互逻辑
    /// </summary>
    public partial class LogView : UserControl {
        //日志
        private readonly ILogService _logger;
        public LogView(ILogService logger) {
            InitializeComponent();
            _logger = logger;
            //日志初始化
            _logger.Info("日志模块view初始化");

        }
        

    }
}
